<template>
<div class='mainPage'>
     <div id="nav">
      <router-link to="/mainPage/login">登录</router-link> |
      <router-link to="/mainPage/register">注册</router-link>
      <router-view></router-view>
    </div>
</div>
</template>
<script>
export default {
components: {},
data() {
return {

  };
  },
methods: {

  },
  mounted() {

  },
}
</script>
<style lang='stylus' scoped>
#nav
  padding 30px
  a
    font-weight bold
    font-size 24px
    color #2c3e50
    &.router-link-exact-active
      color #42b983
</style>